package com.shishuo.cms.action;
import org.apache.commons.lang.math.RandomUtils;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("hk")
public class OmtrkgAction extends BaseAction{
	@ResponseBody
	@RequestMapping("hk1.htm")
	public String add(int  a,int b){
		int c=a+b;
		return c + "";
	}
	@ResponseBody
	@RequestMapping("hk2.htm")
	public String mu(int a,int b){
		int c=a*b;
		return c + "";
	}
	@ResponseBody
	@RequestMapping("hk3.htm")
	public String name(){
		int c = RandomUtils.nextInt(8999);
		return c + 1000+"";
	}
}
